package com.bwie.mapper;

import com.bwie.pojo.TbOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Update;

/**
 * @author lenovo
 * @description 针对表【tb_order(订单表)】的数据库操作Mapper
 * @createDate 2025-07-11 16:04:07
 * @Entity com.bwie.pojo.TbOrder
 */
public interface TbOrderMapper extends BaseMapper<TbOrder> {

    @Update(value = "update tb_order set status = 1 where orderNumber = #{out_trade_no}")
    void updateByPayStatus(String out_trade_no);
}




